/*
 file: enumerable.js
 dependsOn: core.js
 */

$.Enumerable = {  
  map: function(fn) {
    var results = [];
    
    this.each(function(value, index) {
      results.push(fn(value, index));
    });
    
    return results;
  },

  pluck: function(property) 
  {
    var results = [];
    this.each(function(value) {
      results.push(value[property]);
    });
    return results;
  }
};

$.BREAK = {};
  